FBCAT

Section: User Commands (1)
Updated: 25-Jun-90
Index Return to Main Contents
 

NAME

fbcat - convert image format  

SYNOPSIS

fbcat [ -a<aspect> -t'title' -c'credits' ] [ -<type> ] [ image ] > image
 

DESCRIPTION

A general format converter. It can read any of the known formats and write one of the specified output formats (see fbm(1) for format details). Note that some conversions require more than simple format changes, such as color to grayscale or grayscale to 1bit. For these conversion you must use a pipeline of ther commands.  

OPTIONS

-a<aspect>
aspect ratio, a floating point number which is the ratio of the height of a pixel to its width. Some formats specify this, and for GIF images the reader attempts to guess from the size of the image. This option overrides the input or guessed aspect ratio. So if you know that your GIF image has a 1-1 aspect ratio, you should specify -a1 to override the guess.
-t'title'
title, specify a character string (up to 80 characters) to describe the image. The default is no title.
-c'credits'
credits or subtitle, specify a second character string (up to 80 characters) to describe the image. The default is no credit string.
-B
face format, as used by Bennet Yee's face program at CMU.
-F
FBM, format (by default, the default). You are guaranteed not to lose information by specifying FBM as the default.
-G
GIF, Compuserve GIF format.
-I
IFF format, interleaved bitmaps (ILBM), used by Amigas.
-P
PBM, Jef Poskanzer's bitmap format.
-S
sun, Sun rasterfiles (not run length encoded).
 

EXAMPLE

To convert a GIF file to an IFF file


    % fbcat -I < foo.gif > foo.iff

To convert a Sun raster file to an FBM file, adding a title:


    % fbcat -t'Title String' < bar.8bit > bar.fbm  

SEE ALSO

fbm(1) for general discussion, pbm(1) for PBM routines.  

BUGS

None known.  

HISTORY

Copyright (C) 1989,1990 by Michael Mauldin. Permission is granted to use this file in whole or in part for any purpose, educational, recreational or commercial, provided that this copyright notice is retained unchanged. This software is available to all free of charge by anonymous FTP and in the UUNET archives.
25-Jun-90 Michael Mauldin at Carnegie Mellon University
Release 1.0 mlm@cs.cmu.edu
07-Mar-89 Michael L. Mauldin at Carnegie Mellon University
Beta release (version 0.9) mlm@cs.cmu.edu


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLE
SEE ALSO
BUGS
HISTORY

This document was created by man2html, using the manual pages.
Time: 13:25:57 GMT, October 17, 2022